import { createApp } from 'vue'
import type { Component } from 'vue'
import App from './App.vue'
import { setupStore } from '@/store'
import { setupDirective } from '@/directive'
import router from './router'
import 'uno.css'

import '@/styles/index.scss' // global css

//import theme
//import './theme/index.scss'
const app = createApp(App as Component)
// 全局注册 自定义指令(directive)
setupDirective(app)
// 全局注册 状态管理(store)
setupStore(app)
app.use(router).mount('#app')

console.log(import.meta.env)
